package com.jackaltsc.mydemodatastorage.sqlite;

/**
 * 用户实体
 * Created by JackalTsc on 2016/7/23.
 */
public class User {

    private int userId;
    private String userName;
    private String userPasswd;

    public User() {
    }

    public User(int userId, String userName, String userPasswd) {
        this.userId = userId;
        this.userName = userName;
        this.userPasswd = userPasswd;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPasswd() {
        return userPasswd;
    }

    public void setUserPasswd(String userPasswd) {
        this.userPasswd = userPasswd;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPasswd='" + userPasswd + '\'' +
                '}' +
                "\n";
    }
}
